docker Test a Connection using Curl

117

docker Test a Connection using Curl -

$ curl --request POST \
  --url http://localhost:8000/test \
  --header 'content-type: application/json' \
  --data '{
	"msg": "testing"
}'
curl: (7) Failed to connect to localhost port 8000: Connection refused

Comments

Submit
0 Comments